<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/security/tags"
	prefix="sec"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<html>
<head>
<base href="${base}" target="_self" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%@ include file="../commons/headfiles-jquery.jsp"%>
<link href="../css/apps/contract/input.css" rel="stylesheet" media="screen" />

<title>添加编辑合同数据项</title>
<script type="text/javascript" src="../scripts/apps/contract/input.js"></script>	
</head>
<body>
<form method="post" action="contract/contract!submitrepo">
	<table class="table table-striped table-bordered table-condensed table-hover">
		<tbody>
			<tr>
				<th>产品代码</th>
				<th>
				  <input type="text" name="income.owner.code" readOnly="readonly"  value="${param.code}" id="code" />
				  
				  <input type="hidden"  name="income.contract.id"    value="${param.cid}"/>
				  <input type="hidden"  name="income.parentItem.id"  value="${param.item}" />
				  
				</th>
			</tr>
			<tr>
			    <th>批次</th>
			    <th>
                  <input type="text" name="income.batchName"   />
                </th>
			</tr>
			<tr>
				<th>数量</th>
				<th>
				  <input type="text" name="income.value" onblur="judgeNumber(this)" value="0"  />
				</th>
			</tr>				
		</tbody>
        <tfoot>
          <tr>
           <th></th>
           <th>
              <button class="btn btn-info" type="submit" >缴库</button>
              <button class="btn" type="button" onclick="window.close()">关闭</button>
           </th>
          </tr>
        </tfoot>
	</table>
	</form>
	
</body>
</html>